package networks.manager;

public class Routes {

    // gate
    public final static String C2S_GATE_CONNECT = "gate.main.connect";

    // connector
    public final static String C2S_CONNECTOR_LOGIN = "connector.main.login";
    public final static String C2S_CONNECTOR_LOGOUT = "connector.main.logout";
    public final static String C2S_CONNECTOR_REGISTER = "connector.main.register";

    // lobby
    public final static String C2S_LOBBY_MATCH = "lobby.main.match";
    public final static String C2S_LOBBY_UNMATCH = "lobby.main.unmatch";
    public final static String C2S_LOBBY_SEND_CHAT = "lobby.main.sendChatMessage";
    public final static String S2C_LOBBY_ON_CHAT = "lobby_onChat";
    public final static String S2C_LOBBY_ON_ENTER = "lobby_onEnter";
    public final static String S2C_LOBBY_ON_LEAVE = "lobby_onLeave";

    // room
    public final static String C2S_ROOM_CREATE = "room.main.create";
    public final static String C2S_ROOM_JOIN = "room.main.join";
    public final static String C2S_ROOM_LEAVE = "room.main.leave";
    public final static String C2S_ROOM_PLAYER_ACTION = "room.main.playerAction";
    public final static String S2C_ROOM_ON_PLAYER_INFO = "room_onPlayerInfo";
    public final static String S2C_ROOM_ON_PLAYER_LEAVE = "room_onPlayerLeave";
    public final static String S2C_ROOM_ON_MATCH = "room_onMatch";
    public final static String S2C_ROOM_ON_KICK = "room_onKick";

    // database
    public final static String C2S_DB_GET_USER = "database.main.getUser";
    public final static String C2S_DB_RENAME = "database.main.rename";
    public final static String C2S_DB_GET_DOUDIZHU_INFO = "database.main.getDoudizhuInfo";
}
